<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>PngMetadata (PNGJ 2.1.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="PngMetadata (PNGJ 2.1.0-SNAPSHOT API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PngMetadata.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkZTXT.html" title="class in ar.com.hjg.pngj.chunks"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?ar/com/hjg/pngj/chunks/PngMetadata.html" target="_top">Frames</a></li>
<li><a href="PngMetadata.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">ar.com.hjg.pngj.chunks</div>
<h2 title="Class PngMetadata" class="title">Class PngMetadata</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>ar.com.hjg.pngj.chunks.PngMetadata</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">PngMetadata</span>
extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">We consider "image metadata" every info inside the image except for the most basic image info
 (IHDR chunk - ImageInfo class) and the pixels values.
 <p>
 This includes the palette (if present) and all the ancillary chunks
 <p>
 This class provides a wrapper over the collection of chunks of a image (read or to write) and
 provides some high level methods to access them</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#PngMetadata(ar.com.hjg.pngj.chunks.ChunksList)">PngMetadata</a></strong>(<a href="../../../../../ar/com/hjg/pngj/chunks/ChunksList.html" title="class in ar.com.hjg.pngj.chunks">ChunksList</a>&nbsp;chunks)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkPLTE.html" title="class in ar.com.hjg.pngj.chunks">PngChunkPLTE</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#createPLTEChunk()">createPLTEChunk</a></strong>()</code>
<div class="block">Creates a new empty palette chunk, queues it for write and return it to the caller, who should
 fill its entries</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTRNS.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTRNS</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#createTRNSChunk()">createTRNSChunk</a></strong>()</code>
<div class="block">Creates a new empty TRNS chunk, queues it for write and return it to the caller, who should
 fill its entries</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#getDpi()">getDpi</a></strong>()</code>
<div class="block">returns -1 if not found or dimension unknown</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkPLTE.html" title="class in ar.com.hjg.pngj.chunks">PngChunkPLTE</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#getPLTE()">getPLTE</a></strong>()</code>
<div class="block">Returns the palette chunk, if present</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#getTime()">getTime</a></strong>()</code>
<div class="block">null if not found</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#getTimeAsString()">getTimeAsString</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTRNS.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTRNS</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#getTRNS()">getTRNS</a></strong>()</code>
<div class="block">Returns the TRNS chunk, if present</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#getTxtForKey(java.lang.String)">getTxtForKey</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k)</code>
<div class="block">Returns empty if not found, concatenated (with newlines) if multiple! - and trimmed</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTextVar.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTextVar</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#getTxtsForKey(java.lang.String)">getTxtsForKey</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k)</code>
<div class="block">gets all text chunks with a given key</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#queueChunk(ar.com.hjg.pngj.chunks.PngChunk)">queueChunk</a></strong>(<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunk.html" title="class in ar.com.hjg.pngj.chunks">PngChunk</a>&nbsp;c)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#queueChunk(ar.com.hjg.pngj.chunks.PngChunk, boolean)">queueChunk</a></strong>(<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunk.html" title="class in ar.com.hjg.pngj.chunks">PngChunk</a>&nbsp;c,
          boolean&nbsp;lazyOverwrite)</code>
<div class="block">Queues the chunk at the writer</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#setDpi(double)">setDpi</a></strong>(double&nbsp;x)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#setDpi(double, double)">setDpi</a></strong>(double&nbsp;x,
      double&nbsp;y)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTextVar.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTextVar</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#setText(java.lang.String, java.lang.String)">setText</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k,
       <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;val)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTextVar.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTextVar</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#setText(java.lang.String, java.lang.String, boolean, boolean)">setText</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k,
       <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;val,
       boolean&nbsp;useLatin1,
       boolean&nbsp;compress)</code>
<div class="block">Creates a text chunk and queue it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#setTimeNow()">setTimeNow</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#setTimeNow(int)">setTimeNow</a></strong>(int&nbsp;secsAgo)</code>
<div class="block">Creates a time chunk with current time, less secsAgo seconds</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../ar/com/hjg/pngj/chunks/PngMetadata.html#setTimeYMDHMS(int, int, int, int, int, int)">setTimeYMDHMS</a></strong>(int&nbsp;yearx,
             int&nbsp;monx,
             int&nbsp;dayx,
             int&nbsp;hourx,
             int&nbsp;minx,
             int&nbsp;secx)</code>
<div class="block">Creates a time chunk with diven date-time</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="PngMetadata(ar.com.hjg.pngj.chunks.ChunksList)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PngMetadata</h4>
<pre>public&nbsp;PngMetadata(<a href="../../../../../ar/com/hjg/pngj/chunks/ChunksList.html" title="class in ar.com.hjg.pngj.chunks">ChunksList</a>&nbsp;chunks)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="queueChunk(ar.com.hjg.pngj.chunks.PngChunk, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queueChunk</h4>
<pre>public&nbsp;void&nbsp;queueChunk(<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunk.html" title="class in ar.com.hjg.pngj.chunks">PngChunk</a>&nbsp;c,
              boolean&nbsp;lazyOverwrite)</pre>
<div class="block">Queues the chunk at the writer
 <p>
 lazyOverwrite: if true, checks if there is a queued "equivalent" chunk and if so, overwrites
 it. However if that not check for already written chunks.</div>
</li>
</ul>
<a name="queueChunk(ar.com.hjg.pngj.chunks.PngChunk)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queueChunk</h4>
<pre>public&nbsp;void&nbsp;queueChunk(<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunk.html" title="class in ar.com.hjg.pngj.chunks">PngChunk</a>&nbsp;c)</pre>
</li>
</ul>
<a name="getDpi()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDpi</h4>
<pre>public&nbsp;double[]&nbsp;getDpi()</pre>
<div class="block">returns -1 if not found or dimension unknown</div>
</li>
</ul>
<a name="setDpi(double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDpi</h4>
<pre>public&nbsp;void&nbsp;setDpi(double&nbsp;x)</pre>
</li>
</ul>
<a name="setDpi(double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDpi</h4>
<pre>public&nbsp;void&nbsp;setDpi(double&nbsp;x,
          double&nbsp;y)</pre>
</li>
</ul>
<a name="setTimeNow(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeNow</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a>&nbsp;setTimeNow(int&nbsp;secsAgo)</pre>
<div class="block">Creates a time chunk with current time, less secsAgo seconds
 <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the created-queued chunk, just in case you want to examine or modify it</dd></dl>
</li>
</ul>
<a name="setTimeNow()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeNow</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a>&nbsp;setTimeNow()</pre>
</li>
</ul>
<a name="setTimeYMDHMS(int, int, int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeYMDHMS</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a>&nbsp;setTimeYMDHMS(int&nbsp;yearx,
                         int&nbsp;monx,
                         int&nbsp;dayx,
                         int&nbsp;hourx,
                         int&nbsp;minx,
                         int&nbsp;secx)</pre>
<div class="block">Creates a time chunk with diven date-time
 <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the created-queued chunk, just in case you want to examine or modify it</dd></dl>
</li>
</ul>
<a name="getTime()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTime</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTIME.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTIME</a>&nbsp;getTime()</pre>
<div class="block">null if not found</div>
</li>
</ul>
<a name="getTimeAsString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTimeAsString</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTimeAsString()</pre>
</li>
</ul>
<a name="setText(java.lang.String, java.lang.String, boolean, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setText</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTextVar.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTextVar</a>&nbsp;setText(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k,
                      <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;val,
                      boolean&nbsp;useLatin1,
                      boolean&nbsp;compress)</pre>
<div class="block">Creates a text chunk and queue it.
 <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>k</code> - : key (latin1)</dd><dd><code>val</code> - (arbitrary, should be latin1 if useLatin1)</dd><dd><code>useLatin1</code> - </dd><dd><code>compress</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>Returns the created-queued chunks, just in case you want to examine, touch it</dd></dl>
</li>
</ul>
<a name="setText(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setText</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTextVar.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTextVar</a>&nbsp;setText(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k,
                      <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;val)</pre>
</li>
</ul>
<a name="getTxtsForKey(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTxtsForKey</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTextVar.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTextVar</a>&gt;&nbsp;getTxtsForKey(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k)</pre>
<div class="block">gets all text chunks with a given key
 <p>
 returns null if not found
 <p>
 Warning: this does not check the "lang" key of iTxt</div>
</li>
</ul>
<a name="getTxtForKey(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTxtForKey</h4>
<pre>public&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTxtForKey(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;k)</pre>
<div class="block">Returns empty if not found, concatenated (with newlines) if multiple! - and trimmed
 <p>
 Use getTxtsForKey() if you don't want this behaviour</div>
</li>
</ul>
<a name="getPLTE()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPLTE</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkPLTE.html" title="class in ar.com.hjg.pngj.chunks">PngChunkPLTE</a>&nbsp;getPLTE()</pre>
<div class="block">Returns the palette chunk, if present</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>null if not present</dd></dl>
</li>
</ul>
<a name="createPLTEChunk()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createPLTEChunk</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkPLTE.html" title="class in ar.com.hjg.pngj.chunks">PngChunkPLTE</a>&nbsp;createPLTEChunk()</pre>
<div class="block">Creates a new empty palette chunk, queues it for write and return it to the caller, who should
 fill its entries</div>
</li>
</ul>
<a name="getTRNS()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTRNS</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTRNS.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTRNS</a>&nbsp;getTRNS()</pre>
<div class="block">Returns the TRNS chunk, if present</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>null if not present</dd></dl>
</li>
</ul>
<a name="createTRNSChunk()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createTRNSChunk</h4>
<pre>public&nbsp;<a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkTRNS.html" title="class in ar.com.hjg.pngj.chunks">PngChunkTRNS</a>&nbsp;createTRNSChunk()</pre>
<div class="block">Creates a new empty TRNS chunk, queues it for write and return it to the caller, who should
 fill its entries</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PngMetadata.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../ar/com/hjg/pngj/chunks/PngChunkZTXT.html" title="class in ar.com.hjg.pngj.chunks"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?ar/com/hjg/pngj/chunks/PngMetadata.html" target="_top">Frames</a></li>
<li><a href="PngMetadata.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All rights reserved.</small></p>
</body>
</html>
